package com.jy.service.impl;

import com.jy.entity.YgEmployee;
import com.jy.mapper.YgEmployeeMapper;
import com.jy.service.IYgEmployeeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * illustriousness.`yg_employee` 服务实现类
 * </p>
 *
 * @author Null
 * @since 2022-11-15
 */
@Service
public class YgEmployeeServiceImpl extends ServiceImpl<YgEmployeeMapper, YgEmployee> implements IYgEmployeeService {

    @Autowired
    private YgEmployeeMapper YgEmployeeMapper;

    @Override
    public List<YgEmployee> listEmpl() {
        return YgEmployeeMapper.listempl();
    }
}
